package Decorator;

/**
 * 糖浆装饰器
 */
public class SyrupDecorator extends CoffeeDecorator{

    public SyrupDecorator(Coffee decoratorCoffee) {
        super(decoratorCoffee);
    }

    @Override
    public double getCost() {
        return super.getCost() + 1;
    }

    @Override
    public String getDescription() {
        return super.getDescription() + "with 糖浆";
    }

}
